package com.jiezuo.flowable.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jiezuo.flowable.entity.MyForm;
import com.jiezuo.common.util.ResultUtil;
import com.jiezuo.common.vo.Result;


import java.util.List;
import java.util.Map;

/**
* @description   测试
* @author        庞留杰
* @date          2023/08/08 08:34
* @version       V1.0
**/
public interface MyFormService extends IService<MyForm>  {

    IPage<MyForm> findPage(Page initMpPage,MyForm myForm);

    List<MyForm> findList(MyForm myForm);

    MyForm findById(String id);

    boolean add(MyForm myForm);

    boolean update(MyForm myForm);

    boolean delete(String id);

    MyForm getStartFormKey(String businessKey);

    MyForm getTaskFormKey(String taskId);

    String getFormKey(Map<String,String> map);
}
